import VueRouter from 'vue-router'

import homeContainer from './component/tabbar/homeContainer.vue'
import memberContainer from './component/tabbar/memberContainer.vue'
import searchContianer from './component/tabbar/searchContianer.vue'
import shopcarContianer from './component/tabbar/shopcarContianer.vue'

var router=new VueRouter({
    routes: [
        {path:'/home',component:homeContainer},
        {path:'/member',component:memberContainer},
        {path:'/shopcar',component:shopcarContianer},
        {path:'/search',component:searchContianer}
    ],
    //覆盖默认高亮的类，默认的类叫做：router-link-active 
    linkActiveClass:'mui-active'
})
export default router